<?php echo $this->Form->create('Seat', array('id' => 'updateSeat')); ?>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('status');
		echo $this->Form->input('seat_type_id');
	?>
<?php echo $this->Form->end(__('Submit')); ?>

<script type="text/javascript">
		jQuery(document).ready(function(){
			var options = { 
			    target:    "<?php echo '#seat'.$this->Form->value('Seat.id') ?>", 
			    success:    function() { 
			        jQuery.modal.close(); 
			    } 
			}; 
			$('#updateSeat').ajaxForm(options);
		});
</script>